﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ValidationFramework.Fluent
{
	public static class Validation
	{
		//TODO: I don't like how configuration and validation calls are mixed
		//TODO: Get to this style: Validate<myType>(myInstance).UsingRules.InSet("mySet").WithSeverity.GreaterThan(2);
		//TODO: Get to this style: ValidateProperty("myProperty").OnInstance(myInstance);
		//public static IList<ValidationError> Validate(object objectToValidate)
		//{

		//}
		//public static IList<ValidationError> Validate(object objectToValidate, object context)
		//{
		//    return PropertyValidationManager.ValidateAll(objectToValidate, null, context);
		//}
		//public static IList<ValidationError> Validate(object objectToValidate, string ruleSet)
		//{
		//    return PropertyValidationManager.ValidateAll(objectToValidate, ruleSet, null);
		//}
		//public static IList<ValidationError> Validate(object objectToValidate, string ruleSet, object context)
		//{
		//    return PropertyValidationManager.ValidateAll(objectToValidate, null, context);
		//}
	}
}
